FROM registry.cn-beijing.aliyuncs.com/awyl/nodejs:v14.18.0
LABEL maintainer="runfa.li"
COPY elasticsearch-head.tgz elasticsearch-head.tgz
RUN mkdir -p /www && \
    tar -xf elasticsearch-head.tgz -C /www/ && \
    rm -f elasticsearch-head.tgz
WORKDIR /www/elasticsearch-head-5.0.0
ENTRYPOINT ["npm","run","start"]
EXPOSE 9100
